package com.zhuiyun.pm.client.home.mapper;

import com.zhuiyun.pm.client.home.pojo.ClientAnnouncement;
import com.zhuiyun.pm.client.home.pojo.dto.ClientAnnouncementDTO;
import com.zhuiyun.pm.config.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description 用户端——公告
 * @ClassName AnnouncementMapper
 * @Author HH
 * @Date 2023/3/13 13:35
 **/
@Mapper
public interface AnnouncementMapper extends BaseMapper<ClientAnnouncement> {

    /**
    * @Description 查询公告
    * @Author HH
    * @Date 2023/3/14 9:21
    * @Return java.util.List<com.zhuiyun.pm.client.home.pojo.dto.ClientAnnouncementDTO>

    */
    List<ClientAnnouncementDTO> selectAnnouncementList(@Param("address")String address);

}
